package com.gg.douyin.sdk.bean.result;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author guiguan
 * @date 2019/12/10 10:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class OauthBaseResult extends BaseResult {

    /**
     * 接口调用凭证
     */
    @JSONField(name ="access_token")
    private String accessToken;

    /**
     * access_token接口调用凭证超时时间，单位 秒
     */
    @JSONField(name ="expires_in")
    private Integer expiresIn;

}
